
	.extern __puts
	.extern __clean_screen
	.global	__entry
	
	.code16
	.section .entrytext
	
__entry:
	nop
	cli
	in	$0x92, %al
	or	$0x2, %al
	out	%al, $0x92
	sti
	
	mov	%cs, %ax
	mov	%ax, %ds
	mov	%ax, %ss
	mov	%ax, %es
	mov	%ax, %fs
	mov	%ax, %gs
	mov	$0x7c00, %sp

	call 	__clean_screen
	
	lea	msg,  %si
	call	__puts
.1:
	jmp	.1

	ret

msg:	
	.asciz	"hello, kernel"
